
public class Aufgabe1 {

    /**
     * 
     * @author Christian Pysk
     * Matr.Nr: 1828317
     *
     */
    
    public static void main(String[] args) {
        double a=((3+4)*2/3)/(1+4.0);
        // (3+4)=7, (3+4)*2=14, ((3+4)*2/3)=4, (1+4.0)=5.0, ((3+4)*2/3)/(1+4.0)=0.8
        // int    , int         ,int         , double     , int->double
        double b=(((4*2)/9)+3)/(1.5+2.5);
        // (4*2)=8, ((4*2)/9)=0, (((4*2)/9)+3)=3, (1.5+2.5)=4.0, (((4*2)/9)+3)/(1.5+2.5)=0.75
        // int    , int        , int            , double       , int->double
        double c=(1.5-0.5)*((13/2+5)/2);
        // (1.5-0.5)=1.0, 13/2=6, (13/2+5)=11, ((13/2+5)/2)=5, (1.5-0.5)*((13/2+5)/2)=5.0
        // double       , int   , int        , int           , double/int->double
        System.out.println("a=" + a + "  b=" + b + "  c=" + c);
    }

}
